progressbar: Change the way the progress gadget gets size
authorBenjamin Otte <otte@redhat.com>
Wed, 16 Dec 2015 00:44:07 +0000 (01:44 +0100)
committerBenjamin Otte <otte@redhat.com>
Wed, 16 Dec 2015 00:50:01 +0000 (01:50 +0100)
commit26d42771efc66a4224e96bd80d9dc13ce8c10220
treeac5f5cd927279220971f17020ab2335db5450dda
parentbf130da741b63c1cdd92969f513aa74258dc3d62
progressbar: Change the way the progress gadget gets size

Size of the progress element now grows also when it's close to 0 size.

Previously the size was clamped to the minimum size, now it starts
growing from the minimum size.
So for a 100px trough with a 10px min size progress, the sizes of the
progress element change like this:
        old     new
0%      10      10
5%      10      14
10%     10      19
20%     20      28
50%     50      55
100%    100     100
gtk/gtkprogressbar.c